package com.imooc.reward.dto;

import com.imooc.reward.enummeration.OrderStatus;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * ProjectName order
 *
 * @author xieyucan
 * <br>CreateDate 2022/9/20 11:36
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class OrderMessageDTO {

    /**
     * 訂單id
     */
    private Integer orderId;

    /**
     * 訂單狀態
     */
    private OrderStatus orderStatus;

    /**
     * 價格
     */
    private BigDecimal price;
    /**
     * 骑手id
     */
    private Integer deliverymanId;
    /**
     * 产品id
     */
    private Integer productId;

    /**
     * 用户id
     */
    private Integer accountId;

    /**
     * 结算id
     */
    private Integer settlementId;
    /**
     * 积分结算id
     */
    private Integer rewardId;
    /**
     * 积分奖励数量
     */
    private Integer rewardAmount;
    /**
     * 确认
     */
    private Boolean confirmed;
}
